package com.ftg.learn.psi.service;

import com.ftg.learn.psi.Dto.PurchaseParam;
import com.ftg.learn.psi.entity.PurchaseOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 进货订单表 服务类
 * </p>
 *
 * @author guoBingTong
 * @since 2022-05-18
 */
public interface IPurchaseOrderService extends IService<PurchaseOrder> {

    /**
     * 进货模块
     * 添加进货订单表,同时添加进货订单明细表,并添加商品的库存。
     * @param purchaseParam
     * @return
     */
    boolean insertPurchaseOrder(PurchaseParam purchaseParam);
}
